<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Alias of xdiff_string_bpatch</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.xdiff-string-merge3.html">xdiff_string_merge3</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.xdiff-string-patch.html">xdiff_string_patch</a></div>
 <div class="up"><a href="ref.xdiff.html">xdiff 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.xdiff-string-patch-binary" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xdiff_string_patch_binary</h1>
  <p class="verinfo">(PECL xdiff &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">xdiff_string_patch_binary</span> &mdash; <span class="dc-title">Alias of xdiff_string_bpatch</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.xdiff-string-patch-binary-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>xdiff_string_patch_binary</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$str</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$patch</code></span>
   )</div>

  <p class="para rdfs-comment">
   Patches a string <em><code class="parameter">str</code></em> with a binary <em><code class="parameter">patch</code></em>.
   This function accepts patches created both via <span class="function"><a href="function.xdiff-string-bdiff.html" class="function">xdiff_string_bdiff()</a></span> 
   and <span class="function"><a href="function.xdiff-string-rabdiff.html" class="function">xdiff_string_rabdiff()</a></span> functions or their file counterparts.
  </p>
  <p class="para">
   Starting with version 1.5.0 this function is an alias of <span class="function"><a href="function.xdiff-string-bpatch.html" class="function">xdiff_string_bpatch()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.xdiff-string-patch-binary-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">str</code></em></dt>

     <dd>

      <p class="para">
       The original binary string.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">patch</code></em></dt>

     <dd>

      <p class="para">
       The binary patch string.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xdiff-string-patch-binary-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the patched string, or <strong><code>FALSE</code></strong> on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.xdiff-string-patch-binary-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.xdiff-string-bpatch.html" class="function" rel="rdfs-seeAlso">xdiff_string_bpatch()</a> - Patch a string with a binary diff</span></li>
    <li class="member"><span class="function"><a href="function.xdiff-string-bdiff.html" class="function" rel="rdfs-seeAlso">xdiff_string_bdiff()</a> - Make binary diff of two strings</span></li>
    <li class="member"><span class="function"><a href="function.xdiff-string-rabdiff.html" class="function" rel="rdfs-seeAlso">xdiff_string_rabdiff()</a> - Make binary diff of two strings using the Rabin's polynomial fingerprinting algorithm</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.xdiff-string-merge3.html">xdiff_string_merge3</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.xdiff-string-patch.html">xdiff_string_patch</a></div>
 <div class="up"><a href="ref.xdiff.html">xdiff 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
